<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="Bookmark" href="/favicon.ico" >
  <link rel="Shortcut Icon" href="/favicon.ico" />
  <!--[if lt IE 9]>
  <script type="text/javascript" src="__SYSMET__/lib/html5shiv.js"></script>
  <script type="text/javascript" src="__SYSMET__/lib/respond.min.js"></script>
  <![endif]-->
  <link rel="stylesheet" type="text/css" href="__SYSMET__/h-ui/css/H-ui.min.css" />
  <link rel="stylesheet" type="text/css" href="__SYSMET__/h-ui.admin/css/H-ui.admin.css" />
  <link rel="stylesheet" type="text/css" href="__SYSMET__/lib/Hui-iconfont/1.0.8/iconfont.css" />
 	<link rel="stylesheet" type="text/css" href="__SYSMET__/h-ui.admin/skin/default/skin.css" id="skin" />
  <!--[if IE 6]>
  <script type="text/javascript" src="__SYSMET__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  <script>DD_belatedPNG.fix('*');</script>
  <![endif]-->
  <title>赢彩管理系统【智能版】</title>
</head>

<style type="text/css">
.Hui-aside .menu_dropdown dt {
    color: #fff !important;
}
.Hui-aside .menu_dropdown dt {
     border-bottom: none; 
     line-height: 56px;
}
.Hui-aside .menu_dropdown dd {
    color: rgb(191, 203, 217);
    background-color: #e5e5e5  !important;
}
.Hui-aside .menu_dropdown dd li a {
    line-height: 50px;
}
.Hui-aside .menu_dropdown li a {
    color: #636363;
}
.Hui-aside .menu_dropdown li a:hover {
    color: #636363;
    background-color: #aaa;
}
.Hui-aside .menu_dropdown dd ul {
     padding: 0px; 
}
.Hui-aside .menu_dropdown dd li {
    line-height: 50px;
    color: #636363;
}
.Hui-aside .menu_dropdown dd li:hover{
		color: #636363;
    background-color: #e5e5e5;
}

.item li p {
    color: #636363;
}
.item li p:hover{
	 color: #636363;
}
.Hui-aside .menu_dropdown dt .Hui-iconfont {
    color: #fff;
    font-size: 18px;
    margin-right: 13px;
}
</style>
<body>
<header class="navbar-wrapper">
  <div class="navbar navbar-fixed-top">
    <div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" target="_blank" href="/">赢彩管理系统【智能版】</a>
      <span class="logo navbar-slogan f-l mr-10 hidden-xs">v2.0</span>
      <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
      <nav class="nav navbar-nav">
        <ul class="cl">
          <!--<li class="dropDown dropDown_hover"><a href="javascript:;" class="dropDown_A"><i class="Hui-iconfont">&#xe695;</i> 快捷审核(0) </a> </li>-->
          <li><a data-href="/admin/Recharge/cz_list_no" data-title="公司入款审核" onclick="Hui_admin_tab(this)"><i class="Hui-iconfont">&#xe627;</i> 充值审核(<span id="actual_sh" style="{if($czcount>0)}color:red{/if}">{$czcount}</span>)</a></li>
				  <!-- <li><a data-href="/admin/Recharge/tx_list" data-title="玩家取款审核" onclick="Hui_admin_tab(this)"><i class="Hui-iconfont">&#xe692;</i> 提现审核(<span style="{if($txcount>0)}color:red{/if}">{$txcount}</span>)</a></li> -->
				 <!--  <li><a data-href="/admin/Member/dl_sh" data-title="代理审核" onclick="Hui_admin_tab(this)"><i class="Hui-iconfont">&#xe692;</i> 代理审核(<span style="{if($dlcount>0)}color:red{/if}">{$dlcount}</span>)</a></li> -->
          <li style="padding:0 20px;"><a data-href="/admin/Member/zxus_list" data-title="会员管理" onclick="Hui_admin_tab(this)"><i class="Hui-iconfont">&#xe611;</i> 在线(<span id="actual_zx" style="{if($zaixian>0)}color:red{/if}">{$zaixian}</span>)</a></li>
          <li><a data-href="/admin/recharge/agentList?ticker=1" data-title="代理返佣" onclick="Hui_admin_tab(this)"><i class="Hui-iconfont">&#xe611;</i> 代理返佣(<span id="actual_fy" style="{if($balance>0)}color:red{/if}">{$balance}</span>)</a></li> 
        </ul>
      </nav>

      <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
        <ul class="cl">
          <li>欢迎管理员</li>
          <li class="dropDown dropDown_hover">
            <a href="#" class="dropDown_A">{:input('cookie.user')}<i class="Hui-iconfont">&#xe6d5;</i></a>
            <ul class="dropDown-menu menu radius box-shadow">
              <li><a href="{:url('Login/logout')}">退出</a></li>
            </ul>
          </li>
        </ul>
      </nav>
    </div>
  </div>
</header>

<div>
	<aside class="Hui-aside"  style="background: #636363;overflow: scroll;">
  <div class="menu_dropdown bk_2">
    {volist name="nav_arr" id="item"}
    <dl class="menu-article" id="menu-article">
      <dt>
      	<i class="Hui-iconfont {$tubiao[$key]['icon']}">&#{$tubiao[$key]['uu']};</i>
      	<!--<i class="Hui-iconfont .Hui-iconfont-hongbao">&#xe6b7;</i>
      	<i class="Hui-iconfont .Hui-iconfont-menu">&#xe667;</i>
      	<i class="Hui-iconfont .Hui-iconfont-news">&#xe616;</i>
      	<i class="Hui-iconfont .Hui-iconfont-user-group">&#xe62b;</i>2
      	<i class="Hui-iconfont .Hui-iconfont-order">&#xe627;</i>
      	<i class="Hui-iconfont .Hui-iconfont-manage2">&#xe63c;</i>-->
      	{$item['name']}<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
      <dd>
        <ul class="item">
          {volist name="$item.child" id="ite"}
          <li style="position: relative;cursor: pointer;"{if condition="!empty($ite.child)"} class="itemchild"{/if}>
          {if condition="!empty($ite.child)"}
          <b style="width:15px;display: block;float: left;">+</b>
          <p style="float:left;display:inline-block;padding-left: 11px;margin-bottom: 0;">{$ite.name}</p>
          {else/}
          <a data-href="/admin/{$ite.model}/{$ite.action}{if condition="$ite.url_param"}?{$ite.url_param}{/if}" data-title="{$ite.name}" href="javascript:void(0)">{$ite.name}</a>
          {/if}
          </li>
          {if condition="!empty($ite.child)"}
          <ul class="itechild" style="display:none">
            {volist name="$ite.child" id="itechild"}
            <li style="padding-left: 12px">
              <a data-href="/admin/{$itechild.model}/{$itechild.action}{if condition="$itechild.url_param"}?{$itechild.url_param}{/if}" data-title="{$itechild.name}" href="javascript:void(0)">{$itechild.name}</a>
            </li>
            {/volist}
          </ul>
          {/if}
          {/volist}
        </ul>
      </dd>
    </dl>
    {/volist}
  </div>
</aside>
</div>

<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
  <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
    <div class="Hui-tabNav-wp">
      <ul id="min_title_list" class="acrossTab cl">
        <li class="active">
          <span title="我的桌面" data-href="/admin/Statistics/tj_ptbj">平台报表</span>
          <em></em></li>
      </ul>
    </div>
    <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
  </div>
  <div id="iframe_box" class="Hui-article">
    <div class="show_iframe">
      <div style="display:none" class="loading"></div>
      <iframe scrolling="yes" frameborder="0" src="/admin/Statistics/tj_ptbj"></iframe>
    </div>
  </div>
</section>

<div class="contextMenu" id="Huiadminmenu">
  <ul>
    <li id="closethis">关闭当前 </li>
    <li id="closeall">关闭全部 </li>
  </ul>
</div>
<div id="warning" style="display: none;"></div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__SYSMET__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__SYSMET__/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__SYSMET__/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__SYSMET__/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__SYSMET__/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript">

/* $(".item li").click(function(){
	$("#min_title_list li i").trigger("click");
}) */
  setInterval(function () {
    $.get(
            '/admin/index/warning',
            function(data){
              var message = eval("("+data+")");
              if(message.xx){
                var xxdata = message.xx;
                for( var key in xxdata ){
                  if( 1==parseInt(key) ){
                    $('#warning').html(xxdata[key]);
                  }
                }
              }
              if(message.xs){
                var xsdata = message.xs;
                for( var key in xsdata ){
                  if( 1==parseInt(key) ){
                    $('#warning').html(xsdata[key]);
                  }
                }
              }
              if(message.tx){
                var txdata = message.tx;
                for( var key in txdata ){
                  if( 1==parseInt(key) ){
                    $('#warning').html(txdata[key]);
                  }
                }
              }
//              if(message.dl){
//                var dldata = message.dl;
//                for( var key in dldata ){
//                  if( 1==parseInt(key) ){
//                    $('#warning').html(dldata[key]);
//                  }
//                }
//              }
            },'json'
    );
  },15*1000);

setInterval(function () {
  $.get(
          '/admin/index/actual_info',
          function(data){
            data = eval("("+data+")");
            $('#actual_sh').html(data.sh);
            $('#actual_zx').html(data.zx);
            $('#actual_fy').html(data.fy);
            if( 0!=parseInt(data.sh) ){
              $('#actual_sh').css('color','red');
            }else{
              $('#actual_sh').css('color','');
            }
            if( 0!=parseInt(data.zx) ){
              $('#actual_zx').css('color','red');
            }else{
              $('#actual_zx').css('color','');
            }
            if( 0!=parseInt(data.fy) ){
              $('#actual_fy').css('color','red');
            }else{
              $('#actual_fy').css('color','');
            }
          },'json'
  );
},5*1000);
</script>
</body>
</html>
